<?php
    if($query->num_rows()>0){
        $profile = $query->row();
        $identity = $profile->ident;
        $nom = $profile->first_name;
        $prenom = $profile->last_name;
        $addr = $profile->addr;
        $email = $profile->email;
        $tel = $profile->tel;
        $experience = $profile->experience;
        $dispo = $profile->disponible;
        $img = $profile->img;
        $id = $profile->id;
    }
?>

<div id="profile" align="left">
          
          <p class="titreprofile" > La liste des gardients</p>

    <table style="padding: 0px 0px 0px 50px; ">
        <tr><th>Avatar</th><td>:</td><td><img width="125px" src="<?php echo base_url();?>assets/thumb/<?php echo $img?>"></td></tr>
        <tr><th>Identifient </th><td>:</td><td><?php echo $identity?></td></tr> 
        <tr><th>Nom</th><td>:</td><td><?php echo $nom?></td></tr>
        <tr><th>Prenom</th><td>:</td><td><?php echo $prenom?></td></tr>
        <tr><th>Adrresse</th><td>:</td><td><?php echo $addr?></td></tr>
        <tr><th>Email</th><td>:</td><td><?php echo $email?></td></tr>
        <tr><th>Telephone</th><td>:</td><td><?php echo $tel?></td></tr>
        <tr><th>Experience</th><td>:</td><td><?php echo $experience?></td></tr>
        <tr><th>Disponible</th><td>:</td><td><?php echo $dispo?></td></tr>
    </table>
    <br/><br/> 
        <a style="padding:20px 0px 0px 50px;" href="<?php echo site_url('seating_admin/update_gardient')."/".$id?>">MODIFICATION</a>   
        <a style="padding:0px 0px 0px 30px;" href="<?php echo site_url('seating_admin/delete_gardient')."/".$id?>">SUPRESSION</a>
 </div>
